#!/bin/bash
name=$(basename "$1")
echo "$name" | sed -e 's/\.[^.]*$//'